<script type='text/template' id='customer_autocomplete_template'>
  <div class='customer-autocomplete-item container'>
    <div class="row">
      <div class="col">
        <h5><strong>Email:</strong> {{customer.email}}</h5>
      </div>
    </div>

    <div class="row">
      <div class='customer-details col-6'>
        {{#if bill_address.firstname }}
          <strong>{{t 'bill_address' }}</strong><br>
          {{bill_address.firstname}} {{bill_address.lastname}}<br>
          {{bill_address.address1}}, {{bill_address.address2}}<br>
          {{bill_address.city}}<br>
          {{#if bill_address.state_id }}
            {{bill_address.state.name}}
          {{else}}
            {{bill_address.state_name}}
          {{/if}}
          {{bill_address.country.name}}
        {{/if}}
    </div>

    <div class='customer-details col-6'>
      {{#if ship_address.firstname }}
        <strong>Shipping Address</strong><br>
        {{ship_address.firstname}} {{ship_address.lastname}}<br>
        {{ship_address.address1}}, {{ship_address.address2}}<br>
        {{ship_address.city}}<br>
        {{#if ship_address.state_id }}
          {{ship_address.state.name}}
        {{else}}
          {{ship_address.state_name}}
        {{/if}}
        {{ship_address.country.name}}
      {{/if}}
    </div>

  </div>
</div>
</script>
